package com.atguigu.gmall.payment.process.impl;

import com.atguigu.gmall.payment.process.PayHandler;
import org.springframework.stereotype.Component;

/**
 * @author: atguigu
 * @create: 2023-03-22 11:33
 */
@Component("jdPay")
public class JDPayHandler implements PayHandler {
    @Override
    public Boolean createPayHtml(Long orderId) {
        System.out.println("调用京东支付api产生支付页面");
        return null;
    }

    @Override
    public void youhui() {
        System.out.println("京东支付优惠1块");

    }
}
